Class DimensionHelper

java.lang.Object
jeresources.util.DimensionHelper

public class DimensionHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    getDimensionName(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> worldRegistryKey)
     
    static net.minecraft.core.Holder<net.minecraft.world.level.dimension.DimensionType>
    getType(net.minecraft.resources.ResourceKey<net.minecraft.world.level.dimension.DimensionType> dimensionTypeRegistryKey)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DimensionHelper

      public DimensionHelper()
  • Method Details

    • getDimensionName

      public static String getDimensionName(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> worldRegistryKey)
    • getType

      public static net.minecraft.core.Holder<net.minecraft.world.level.dimension.DimensionType> getType(net.minecraft.resources.ResourceKey<net.minecraft.world.level.dimension.DimensionType> dimensionTypeRegistryKey)